import request from '@/router/axios';

//辅料标签生成
export const sequenceCreate = (data) => {
  return request({
    url: '/api/mes-admin/part/indirect/label/create',
    method: 'post',
    data: data
  });
};
//辅料标签预览
export const receivingPreview = (data) => {
  return request({
    url: '/api/mes-admin/part/indirect/label/preview',
    method: 'post',
    data: data
  });
};
/**
 * 打印条码
 */
export const printSequence = (row) => {
  return request({
    url: '/api/mes-admin/part/indirect/label/print',
    method: 'post',
    data: row
  });
};
/**
 * 打印条码
 */
export const printScrap = (row) => {
  return request({
    url: '/api/mes-admin/part/indirect/label/scrap',
    method: 'post',
    data: row
  });
};
